package com.hs.entity.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@TableName("team_types")
@AllArgsConstructor
public class TeamType {
    @TableId(type = IdType.AUTO)
    Integer id;
    String team_type_name;
    String team_type_img;
    String team_type_money;
    Integer team_id;
    Integer type;
    LocalDateTime create_time;

    @TableField(exist = false)  // 注解表示该字段在数据库表中不存在，只有在查询时需要该字段
    private String team_name;

}
